<template>
    <div class="card  bg-white p-3 mt-3">
        <div class="card-head d-flex">
        <i class="iconfont ml-1" :class="`icon-${icon}`"></i>
        <span class="fs-xl flex-1 px-2"> {{title}} </span>
        <i class="iconfont icon-icon_more mr-0"></i>
      </div>
      <div class="card-body pt-1 mt-3 bt">
          <slot></slot>
      </div>
    </div>
</template>

<script>
export default {
    props: {
        title: {type:String, requiired:true},
        icon: {type:String, requiired:true}
    },
  data() {
    return {

    };
  }
};
</script>


<style lang="scss">
.card-body .nav .nav-item {
  border-bottom: 3px solid transparent;
  & .active {
    color: #db9e3f;
    border-bottom: 3px solid #db9e3f;
  }
}
</style>
